package com.nt.train.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.HashMap;
import java.util.Map;

/**
 * @author hlf
 * @version 1.0
 * @date 2022/7/28 15:06
 */
@Data
@ConfigurationProperties("app")
public class AppProperties {
    /**
     *
     */
    private Map<String, V1> v1 = new HashMap<>();

    /**
     *
     *
     * @author felord.cn
     * @since 1.0.0.RELEASE
     */
    @Data
    public static class V1 {
        /**
         * name
         */
        private String name;
        /**
         * description
         */
        private String description;

    }
}